﻿using Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.Repository
{
    public interface ISGDRepository
    {
        Task<bool> AddSgdAsync(SGD sgd);
        Task<List<SGD>> GetAllSgdSalaryGrantIdAsync(string SalaryGrantId);

        //修改       
        Task<bool> RemoveSGDAsync(int GrdId, double BounsSum, double SaleSum, double DeductSum, double SalaryPaidSum);
    }
}
